<#include "copyright.ftl"/>
package ${basePackage}.bean.po;

import net.common.bean.BasePo;
<#if (table.hasDateColumn)>
import java.util.Date;
</#if>
<#if (table.hasBigDecimalColumn)>
import java.math.BigDecimal;
</#if>

/**
 * <p>实体类</p>
 * <p>Table: ${table.tableName} - ${table.remarks}</p>
 * @since ${.now}
 * <#include "jsr303.ftl">
 */
public class ${table.className}Po extends BasePo {
	private static final long serialVersionUID = 1L;

<#list table.baseColumns as column>
	<#if column.javaProperty=="createrId" 
		|| column.javaProperty=="updaterId" 
		|| column.javaProperty=="createTime" 
		|| column.javaProperty=="updateTime"
		|| column.javaProperty=="sort"
		|| column.javaProperty=="remark"
		|| column.javaProperty=="flag">
		<#break>
	<#else>
    /** ${column.columnName} - ${column.remarks} */
    private ${column.javaType} ${column.javaProperty};
    </#if>
</#list>
<#--
<#list table.primaryKeys as key>

    public ${key.javaType} ${key.getterMethodName}(){
        return this.${key.javaProperty};
    }
    public void ${key.setterMethodName}(${key.javaType} ${key.javaProperty}){
        this.${key.javaProperty} = ${key.javaProperty};
    }
</#list>
-->
<#list table.baseColumns as column>
	<#if column.javaProperty=="createrId" 
		|| column.javaProperty=="updaterId" 
		|| column.javaProperty=="createTime" 
		|| column.javaProperty=="updateTime"
		|| column.javaProperty=="sort"
		|| column.javaProperty=="remark"
		|| column.javaProperty=="flag">
		<#break>
	<#else>
    public ${column.javaType} ${column.getterMethodName}(){
        return this.${column.javaProperty};
    }
    public void ${column.setterMethodName}(${column.javaType} ${column.javaProperty}){
        this.${column.javaProperty} = ${column.javaProperty};
    }
    </#if>
</#list>
}